
export function GetP(url) {
    let p = new Object();
    let strs = url.split(",");
    for(var i = 0; i < strs.length; i ++) {
        strs[i]=strs[i].substring(1,strs[i].length-1)
        p[strs[i].split(":")[0]]=unescape(strs[i].substring(strs[i].split(":")[0].length+1,strs[i].length));
    }
    return p;
}
